package com.xxxcompany.wordbook.service;

import com.xxxcompany.wordbook.entity.User;

public interface IUserService {

	/**
	 * 用户注册
	 * @param user
	 * @return
	 */
	public boolean register(User user);
	
	/**
	 * 用户登录
	 * @param username
	 * @param password
	 * @return
	 */
	public User login(String username,String password);
}